package com.example.demo.smartLamp.service;

import com.example.demo.smartLamp.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.smartLamp.entity.request.UserInfoGetRequest;
import com.example.demo.smartLamp.entity.request.UserLoginRequest;
import com.example.demo.smartLamp.entity.response.UserInfoGetResponse;
import com.example.demo.smartLamp.entity.response.UserLoginResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 祁荣博 胡绍宇
 * @since 2022-07-04
 */
public interface IUserService extends IService<User> {

    UserInfoGetResponse userInfoGet(UserInfoGetRequest userInfoGetRequest) throws Exception;

    User selectUserById(String id);

    UserLoginResponse userLogin(UserLoginRequest userLoginRequest) throws Exception;
}
